Skip to content

Stage A: batch 2-5 fixes - #2

Draft
mycyg wants to merge 39 commits into
mainfrom
codex/r9-stage-a-batch2-5-fixes
Draft

Stage A: batch 2-5 fixes#2
mycyg wants to merge 39 commits into
mainfrom
codex/r9-stage-a-batch2-5-fixes

Conversation

@mycyg

@mycyg mycyg commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Draft PR to trigger pull_request CI for Stage A batch 2-5 triage fixes. Current commit fixes fix-batch2-1 only: remember=always learning audit failure now skips policy creation while preserving committed decisions, approval.decided audit, and publish. Local validation: pnpm -r typecheck; pnpm test; pnpm qa:r2-release-gate; R1 PG smoke; R4 web live route smoke.

mycyg added 30 commits July 2, 2026 17:45
Batch 2-1: filter the drive page current accepted query to non-superseded rows, backfill superseded rows only for loaded version labels, and prefer current rows when annotating restored versions.

Validation: pnpm -r typecheck; pnpm test; pnpm qa:r2-release-gate; R1 PG smoke on a dropped/recreated local workhub DB.
Batch 2-2: approval comment reads now return the latest capped window in chronological display order, approval center prefetches one extra row for honest overflow metadata, and the web detail panel renders a capped-comments hint.

Validation: pnpm -r typecheck; pnpm test; pnpm qa:r2-release-gate; R1 PG smoke; R2 PG+Redis smoke; web live route smoke.
(cherry picked from commit 83e2a78)
Ported from 4510b35 with an added createDraftPlan workspace/work-item guard.
mycyg added 9 commits July 6, 2026 13:55
Port R9.1 planner proposal flow from 48f3a36 with an extra fail-closed guard: task_plan proposals are approved inside the proposal merge transaction and do not mark their work item merged.
Port R9.1 plan presentation from 31d36bc and fill the approval-workbench gap with structured task_plan proposal diffs. R1 smoke now verifies proposal manifest items, approved plan rows, and page VM exposure without completing the work item.
mycyg pushed a commit that referenced this pull request Jul 16, 2026
桌面 UI 把已就绪的后端能力接真、把无法兑现的承诺改成真话(05-gap-review #14/#15/#2)。

- #14 邀请成员:admin/owner 在成员 roster 头部出「邀请」入口——填邮箱 → POST
  /api/auth/invites 生成一次性 token → 复制到剪贴板 + 提示。无未过期邀请列表读端点,
  故只做生成 + 复制(报告注明)。
- #15 成员移出:roster「管理」模式每行出「移出」(内联确认 + 忙态)→ DELETE
  /api/workspace/members/:userId → 乐观就地从花名册剔除。管理/邀请入口仅 admin/owner
  (viewer.membership_role !== 'member')才渲。
- #2 项目设置「成员」分区:主区=全员(工作区总数)+ 各协同会话概览(会话名 + 「管理成员」
  跳到该会话成员条);把新建项目弹窗「成员邀请之后在项目设置里调」改成与现实一致的文案
  (成员在各协同会话里加人/退群)。
- chat/api.ts 补 post/deleteConversationParticipant 客户端薄封装(供会话成员条用)。

rail 5 例 + settings 2 例渲染测试覆盖 canManage 门控、管理模式、内联确认、邀请框、成员概览。
CSS 样式与会话成员条(#1/#16)合并在后续一笔补齐。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant